<?php $product = $this->product;
if($product){?>
<div id="product-detail">
        <div class="title"><h2>Chi tiết sản phẩm</h2></div>
        <div class="review">
            <div class="product-image">
                <img id="img-loupe" src="<?php echo $this->baseUrl('default/images/products/') .$this->product->product_image?> " alt="<?php echo $this->product->product_name?>"/>
            </div>
            <div class="product-description">
                <h3><?php echo $product['product_name']?></h3>
                <p>Nhà sản xuất: <a href="<?php echo $this->baseUrl('index/san-pham/') .$product['manufacture_id'].'-'.$product['manufacture_name'] .'.html'?>"><?php echo $product->manufacture_name?></a></p>
                <p>Thời gian bảo hành: <?php echo $product['product_warranty']?></p>
                <p>Khuyến mãi: <?php echo $product['product_promotion']?></p>
            </div>
            
            <div class="buy">
                <div class="price"><p>Giá: <?php echo number_format($product['product_price'], 0, ',', '.') .'đ'?></p></div>
                <div class="price"><a href="<?php echo $this->baseUrl('cart/add/productid/') .$this->product->product_id?>" title="thêm vào giỏ">Thêm vào giỏ</a></div>
            </div>
            <div class="clearb"></div>
        </div>
        <div class="detail">
            <p><?php echo $product['product_description']?></p>  
            <div class="clearb"></div>        
        </div>
        <div class="clearb"></div>
    </div><!--end product-detail-->
    <?php }?>
    